<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>

  <body>
    <div id="app"></div>
    <template id="pengfan">
      <ul>
          <template v-for="(value,key) in  info">
            <li>{{key}}</li>
            <li>{{value}}</li>
            <li class="divider"></li>
          </template>
      </ul>
    </template>
    <script src="../js/vue.js"></script>
    <script>
      Vue.createApp({
        template: "#pengfan",
        data() {
          return {
            message: "Hello World",
            info: {
              name: "why",
              age: 18,
              height: 1.88,
            },
          };
        },
        methods: {},
      }).mount("#app");
    </script>
  </body>
</html>
